How To Support LDAP Server Entries Through Data Services
Prefer all related topics on a single page? Click here.
AquaLogic Data Services Platform (ALDSP) enables you to create physical data services based on Java functions. The example described in this topic focuses on creating a physical data service based on a set of functions that can access and update entries in an LDAP server.
Specifically, the example:
Shows how to build and test a sample application configured to work, by default, with the LDAP server embedded in WebLogic server.
Provides step-by-step instructions for creating the physical data service based on the Java functions.
Shows how to create an operation in a logical data service to test the physical data service against the embedded LDAP server.
The sample application, located in the DspLdapWrapper.java file, contains the following Java functions that you can use to create corresponding operations in a physical data service:
Java Function
Description
createPerson()
Create an entity for a person on the LDAP server.
deletePerson()
Remove a person from the LDAP server.
getAllPersons()
Retrieve all persons in the LDAP server.
getPersonByUserId()
Retrieve a record from the LDAP server identified by the specific ID.
updatePersonSDO()
Update a record on the LDAP service using SDO.
updatePersonXMLBean()
Update a record on the LDAP service using XMLBeans.
Working with the Sample Application
Working with the sample application to create the physical data service involves the following steps:
Create the sample application.
This involves setting up your Ant environment, editing the build.properties file, configuring the WebLogic embedded LDAP server, and building the Java application.